import request from '@/api/request';

// 组织机构
export function SelectAllTcontrolUnit(data) {
    return request({
        url: 'SelectAllTcontrolUnit',
        method: 'post',
        data: data
    });
}

export function QueryOrganization(data) {
    return request({
        url: 'QueryOrganization',
        method: 'post',
        data: data
    });
}
export function InsertOrganization(data) {
    return request({
        url: 'InsertOrganization',
        method: 'post',
        data: data
    });
}
export function UpdateOrganization(data) {
    return request({
        url: 'UpdateOrganization',
        method: 'post',
        data: data
    });
}
export function DeleteOrganization(data) {
    return request({
        url: 'DeleteOrganization',
        method: 'post',
        data: data
    });
}
// 卡口管理
export function InquiryCrossing(data) {
    return request({
        url: 'InquiryCrossing',
        method: 'post',
        data: data
    });
}
export function InsertCrossingManage(data) {
    return request({
        url: 'InsertCrossingManage',
        method: 'post',
        data: data
    });
}
export function UpdateCrossingManage(data) {
    return request({
        url: 'UpdateCrossingManage',
        method: 'post',
        data: data
    });
}
export function InquiryDetailedCrossing(data) {
    return request({
        url: 'InquiryDetailedCrossing',
        method: 'post',
        data: data
    });
}
// 治超点配置
export function GetCrossingNameConfiguration(data) {
    return request({
        url: 'GetCrossingNameConfiguration',
        method: 'post',
        data: data
    });
}
export function GetOvershootQuery(data) {
    return request({
        url: 'GetOvershootQuery',
        method: 'post',
        data: data
    });
}
export function AddCrossingNameConfiguration(data) {
    return request({
        url: 'AddCrossingNameConfiguration',
        method: 'post',
        data: data
    });
}
export function UpdateCrossingNameConfiguration(data) {
    return request({
        url: 'UpdateCrossingNameConfiguration',
        method: 'post',
        data: data
    });
}
export function OrganizationMonitoring(data) {
    return request({
        url: 'OrganizationMonitoring',
        method: 'post',
        data: data
    });
}
export function InquiryOrganizationCrossing(data) {
    return request({
        url: 'InquiryOrganizationCrossing',
        method: 'post',
        data: data
    });
}

// 治超点配置
export function MonitoringPoint(data) {
    return request({
        url: 'MonitoringPoint',
        method: 'post',
        data: data
    });
}
export function InsertCMonitoringPoint(data) {
    return request({
        url: 'InsertCMonitoringPoint',
        method: 'post',
        data: data
    });
}
export function UpdateMonitoringPoint(data) {
    return request({
        url: 'UpdateMonitoringPoint',
        method: 'post',
        data: data
    });
}

// 中心点配置
export function InquiryCentralPoint(data) {
    return request({
        url: 'InquiryCentralPoint',
        method: 'post',
        data: data
    });
}
export function InsertCentralPoint(data) {
    return request({
        url: 'InsertCentralPoint',
        method: 'post',
        data: data
    });
}
export function UpdateCentralPoint(data) {
    return request({
        url: 'UpdateCentralPoint',
        method: 'post',
        data: data
    });
}

// 卡口配置
export function BayonetLane(data) {
    return request({
        url: 'BayonetLane',
        method: 'post',
        data: data
    });
}
export function UpdateBayonetLane(data) {
    return request({
        url: 'UpdateBayonetLane',
        method: 'post',
        data: data
    });
}
export function InsertBayonetLane(data) {
    return request({
        url: 'InsertBayonetLane',
        method: 'post',
        data: data
    });
}
// 查询操作日志
export function InquirytLog(data) {
    return request({
        url: 'InquirytLog',
        method: 'post',
        data: data
    });
}

//查询对应车道的证书编号等信息
export function InquiryCertNo(data) {
    return request({
        url: 'InquiryCertNo',
        method: 'post',
        data: data
    });
}

//插入对应车道的证书编号等信息
export function InsertCertNo(data) {
    return request({
        url: 'InsertCertNo',
        method: 'post',
        data: data
    });
}

//更新对应车道的证书编号等信息
export function UpdateCertNo(data) {
    return request({
        url: 'UpdateCertNo',
        method: 'post',
        data: data
    });
}


